<template>
  <div id="loading">
    <div id="title">{{title}}</div>
    <img id="gif" src="../../../static/image/common/loading.gif" alt="">
  </div>
</template>

<script>
  export default {
    name: "loading-gif",
    data() {
      return {
        title: ''
      }
    }
  }
</script>

<style lang="scss" scoped>
  @import "../../style/common/mixin";

  #loading {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    width: 100%;
    z-index: 999;
    /*background: rgba(0, 0, 0, .5)*/

    @include flex-container();
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
  }

  #gif {
    width: 104px;
    height: 64px;
  }
</style>
